//
//  DownloadListDAO.h
//  ImGuider
//
//  Created by llt on 2017/4/26.
//  Copyright © 2017年 imguider. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DownloadListDAO : NSObject

//-----------------------------------路线表------------------------------------------

+ (void)getLineModelListBlock:(void (^) (NSArray <LineModel *>*dataArray))block;

+ (void)getLineModelWithUnionid:(NSString *)unionid Block:(void (^) (LineModel *lineModel))block;

+ (void)insertLineModel:(LineModel *)lineModel;
+ (void)deleteLineModelUnionid:(NSString *)unionid;
+ (void)pauseLineModelUnionid:(NSString *)unionid;

//-----------------------------------景点表------------------------------------------

+ (void)insertScenicArray:(NSArray *)scenicArray unionid:(NSString *)unionid;
+ (void)getAllScenicPointBlock:(void (^) (NSArray <ScenicPoint *> *scenicArray))block;

@end
